﻿using Api.Shared.Sugar;
using Microsoft.Extensions.DependencyInjection;
using SqlSugar;

namespace Api.Shared.Responsitory.Mysql
{
    public class MysqlRespository<TEntity> : SimpleClient<TEntity> where TEntity : class, new()
    {
        public MysqlRespository([FromKeyedServices(nameof(SqlName.mysql))] ISugarClientService service)
        {
            Context = service.Db;
        }


    }
}
